public class User {
    private String name;

    public User(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void printMenu(){}
    public func[] userFunc={};

    public void a(int choice,BookList bookList){
        this.userFunc[choice].work(bookList);
    }

    String prit = "打印的是父类数组";


}
